#ifndef QBACKGROUNDWIDGET_H
#define QBACKGROUNDWIDGET_H

#include <QWidget>

#include "qabstractstylesheetwidget.h"

namespace Ui {
class QBackgroundWidget;
}

namespace CORELIB
{

    class QBackgroundWidget : public QAbstractStylesheetWidget
    {
        Q_OBJECT

    public:
        explicit QBackgroundWidget(QWidget *parent = 0);
        ~QBackgroundWidget();

        void takeResource();

        void    setItem(const tagStylesheetItem &item);
    private slots:
        void on_pushButton_clicked();

        void on_pushButton_2_clicked();

        void on_pushButton_3_clicked();
        void repeat(const QString &text);
        void position(const QString &text);
    private:
        Ui::QBackgroundWidget *ui;

    protected:
        QString     m_tempResource;
    };

}

#endif // QBACKGROUNDWIDGET_H
